<template>
  <el-form ref="editForm" :model="formFileds">
    <div class="content">
      <el-carousel indicator-position="outside">
        <el-carousel-item v-for="item in 4" :key="item">
          <h3>{{ item }}</h3>
        </el-carousel-item>
      </el-carousel>
    </div>

    <div class="content">
      <el-table :data="form">
        <el-table-column prop="fileName" label="文档名称" align="center">
        </el-table-column>
        <el-table-column prop="time" label="日期" width="200" align="center">
        </el-table-column>
      </el-table>
      <el-button type="primary" style="margin-left: 90%"> 更多 </el-button>
    </div>

    <el-pagination
      :page-sizes="[10, 20, 30, 40, 100]"
      :page-size="10"
      :total="100"
      layout="total, sizes, prev, pager, next, jumper"
    >
    </el-pagination>
  </el-form>
  <!--分页-->
</template>

<script>
export default {
  name: "Table",
  data() {
    return {
      formFileds: {},
      form: [
        {
          fileName: "委托信息",
          time: "2022-10-3",
        },
        {
          fileName: "委托信息",
          time: "2022-10-3",
        },
        {
          fileName: "委托信息",
          time: "2022-10-3",
        },
        {
          fileName: "委托信息",
          time: "2022-10-3",
        },
      ],
    };
  },

  methods: {},
};
</script>

<style scoped lang="less">
.content {
  line-height: 50px;
  margin: 3%;
  width: 70%;
  margin: 0 auto;
}

.el-form {
  padding: 0 10px;
}

.el-table {
  // margin: 2%;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  text-align: center;
}

.el-carousel__item h3 {
  color: #475669;
  font-size: 18px;
  opacity: 0.75;
  line-height: 300px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>
